Skip to content

security: block CGNAT range and guard browser_open_url - #353

Merged
rohitprasad15 merged 1 commit into
mainfrom
rpSsrfFollowup
Jul 30, 2026
Merged

security: block CGNAT range and guard browser_open_url#353
rohitprasad15 merged 1 commit into
mainfrom
rpSsrfFollowup

Conversation

@rohitprasad15

Copy link
Copy Markdown
Collaborator

Follow up to #290, covering the two gaps noted there.

  1. The address guard now blocks 100.64.0.0/10 (RFC 6598 shared address space). Python's is_private misses it, but Tailscale and some carrier grade NAT / pod networks hand out internal hosts there, so it is the same reachability class as RFC1918.

  2. browser_open_url (the Playwright tool) now runs the same guard before navigating. It is approval gated, so this is defense in depth rather than the primary control, and it checks the initial model supplied URL only (redirects the browser follows internally are not hop checked).

Follow up to #290. Add RFC 6598 shared space (100.64.0.0/10, used by
Tailscale) to the address guard, and run the same guard on the Playwright
browser_open_url before navigating.
@rohitprasad15
rohitprasad15 merged commit 11d9f72 into main Jul 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant